<?php


namespace app\admin\model;

use \think\Model;
class Culture extends Model
{
    public function cate()
    {
        //关联分类表
        return $this->belongsTo('Nav');
    }

    public function admin()
{
    //关联角色表
    return $this->belongsTo('Admin');
}

}